<?php

/**
 * Description of maps 
 * for view google maps
 *
 * @author konda
 */
class map extends CI_Controller{
    //put your code here
    
    
    public function __construct() {
        parent::__construct();

        //library
        $this->load->library('form_validation');
        //helper 
        $this->load->helper(array('form','url'));
        //model
        //$this->load->model('m_map');
        
    }
    
    
    public function Index()
    {
        ///////////////////////////////////////////////////////
         //Data
         //title page
         $data['title']="Maps";
         $data['view']="v_map";

         $data['menu_header']=  $this->menu_header();
        
         $this->load->view('template/header.php',$data);
         //the content is corresponsive to header
         $this->load->view('template/content_header.php',$data);
         $this->load->view('template/footer.php');
    
        
    }
    
    
      public function menu_header()
    {
        
       $menu_header= "<div id=\"header\">";
       $menu_header.="<div class=\"gbes\">";
       $menu_header.="<ul class=\"gbtc\">";
       $menu_header.="<li class=\"gbt\">";
       $menu_header.="<a class=\"gb\" >";
       $menu_header.="<span class=\"gbtgb2\"></span>";
       $menu_header.="<span id=\"nav_title\" class=\"gbts\">";
       $menu_header.=anchor("proyecto","Proyecto");
       $menu_header.="</span></a></li><li class=\"gbt\">";
       $menu_header.="<a class=\"gb\"><span class=\"gbtgb2\"></span>";
       $menu_header.="<span  id=\"nav_title\" class=\"gbts\">";
       $menu_header.=anchor("map","Mapas");
       $menu_header.="</span></a></li></ul></div>";
       $menu_header.="<div class=\"gbx1\"></div></div>";
       
       return $menu_header;
    }
   
}

?>
